package cn.tedu.v1.service.impl;

import cn.tedu.v1.mapper.DrugMapper;
import cn.tedu.v1.mapper.StoreMapper;
import cn.tedu.v1.model.Store;
import cn.tedu.v1.service.IStoreService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author tedu.cn
 * @since 2021-07-07
 */
@Service
public class StoreServiceImpl extends ServiceImpl<StoreMapper, Store> implements IStoreService {

    @Autowired
    StoreMapper storeMapper;
    @Override
    public void store(Store store) {
        storeMapper.insert(store);
    }
}
